package com.cmes.system.api.bo;

import com.cmes.core.domain.GenericBO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * 登录
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UsernamePasswordBO extends GenericBO {

    @NotEmpty(message = "员工编号不能为空")
    private String username;
    @NotEmpty(message = "密码不能为空")
    private String password;

}
